def getSecondElement(elem):
    return elem[1]


lst = [(2, 2), (3, 1), (5, 4), (4, 3)]

lst.sort(key=getSecondElement, reverse=True)

print(lst)
